package com.xdu.spm.Dao.Interface;

import com.xdu.spm.Dao.Entity.Librarian;
import com.xdu.spm.Dao.Entity.Reader;

import java.io.IOException;
import java.util.List;

public interface LibrarianInterface {
    /**
     * search single Librarian by its Account
     * para: account
     * return: librarian object
     * **/
    Librarian findLibByAccount(String Account) throws IOException;

    /**
     * get all readers' information
     * return: List<Reader>
     * **/
    List<Reader> findAllReader() throws IOException;
}
